package org.kongcloud.core.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
public class GatewayChangeVO {
	@NotNull(message = "appName不能为空")
	private String appName;

	@Min(value = 1,message = "leftMetresHours must be positive number.")
	private Long leftMetresHours;
	@Min(value = 1,message = "leftMetresSeconds must be positive number.")
	private Long leftMetresSeconds;
	@Min(value = 1,message = "leftMetresTimes must be positive number.")
	private Long leftMetresTimes;
}
